//
//  YCTestAlertView.m
//  DemoAlertView
//
//  Created by 唐可雄 on 16/9/27.
//  Copyright © 2016年 tangkexiong. All rights reserved.
//

#import "YCTestAlertView.h"

@interface YCTestAlertView ()

@end

@implementation YCTestAlertView

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - Public Methods

+ (instancetype)instance {
    YCTestAlertView *alert = [[YCTestAlertView alloc] initWithNibName:@"YCTestAlertView" bundle:nil];
    return alert;
}

#pragma mark - IBAction

- (IBAction)okBtnDidClick:(id)sender {
    [self dismiss];
}
@end
